<?php

class Involved_AbutTeamModel extends BaseModel
{

    protected $table = 'abut_team';

    /**
     *资讯列表
     * @return mixed
     */
    public function TeamSelect()
    {
        return DB::table($this->table)
            ->select('team_id','team_name','team_position','team_department','introduce','created')
            ->get();
    }
    public function GetTeamId($team_id)
    {
        return DB::table($this->table)
            ->select('team_id','team_name','team_position','team_department','introduce','created')
            ->where('team_id',$team_id)
            ->first();
    }
}
